﻿using System;
using System.ComponentModel.DataAnnotations;

namespace TaoNiuOA.Models
{
    /// <summary>
    /// 任务类型
    /// </summary>
    public class TaskType
    {
        [Key]
        public int TaskTypeID { get; set; }

        [Required]
        [Display(Name = "任务类型")]
        public string TypeName { get; set; }

        [Display(Name = "类型描述")]
        [DataType(DataType.MultilineText)]
        [StringLength(1024,ErrorMessage="请输入1000字以内的描述.")]
        public string Desc { get; set; }


        [Display(Name = "排序")]
        public int Sort { get; set; }
    }
}
